:root {
  --text-color: #111318;
  --layout-aside-bg: #EDF2F6;
  --layout-sub-aside-bg: #e8eff5;
  --layout-text-color: #515C6C;
  --layout-active-text-color: #515C6C;
}

body {
  margin: 0;
  padding: 0;
  font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
  font-weight: 400;
  font-size: 14px;
  background-color: #fff;
  color: #111318;
}

a {
  color: #409eff;
  text-decoration: none
}

code {
  background-color: #f9fafc;
  padding: 0 4px;
  border: 1px solid #eaeefb;
  border-radius: 4px;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
}

button,input,select,textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit
}

::selection {
  background: #CBD1DE;
}

&::-webkit-scrollbar {
  width: 9px;
  height: 9px;
  background: transparent;
}

&::-webkit-scrollbar-corner {
  background: transparent;
}

&::-webkit-resizer{
  background: transparent;
}

&::-webkit-scrollbar-track,
&::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-clip: content-box;
  border: solid 2px transparent;
  transition: all 0.3s ease;
}

/*滚动轨道*/
&::-webkit-scrollbar-track {
  background-color: rgba(53,59,69, 0.1);
}

/*滚动条*/
&::-webkit-scrollbar-thumb {
  min-height: 20px;
  background-color: rgba(53,59,69, 0.3);

}

&::-webkit-scrollbar-thumb:hover{
  background-color: rgba(53,59,69, 0.5);
  border-width: 1px;
}

// 圆形裁剪动画
.admission-animation {
  animation: clip-circle 900ms cubic-bezier(0,0,0,0.7) backwards 0.5s;
}

@keyframes clip-circle {
  from {
    clip-path: circle(0 at 50% 50%);
  }

  to {
    clip-path: circle(100% at 50% 50%);
  }
}

// 页面切换过渡
.page-transition-enter-active {
  animation: page-in 0.3s;
}

.page-transition-leave-active {
  animation: page-out 0.3s;
}

@keyframes page-in {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes page-out {
  0% {
    transform: translateX(0, 0, 0);
    opacity: 1;
  }

  100% {
    transform: translateX(20px);
    opacity: 0;
  }
}

.page {
  padding-top: 1px; // fix margin-top

  &--title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0;
    margin-bottom: 15px;
    padding-top: 15px;
  }
}
